package com.gzhryc.shared_device.base;

import com.gzhryc.common.exceptions.LogicException;
import com.gzhryc.shared_device.base.models.IPlace;
import com.gzhryc.shared_device.common.device.dao.db.DeviceTypeFunc;

import java.util.List;

public interface IPlaceService {

    public boolean deployDevice(Long placeId,List<DeviceTypeFunc> deviceTypeFuncList) throws LogicException;

    public boolean deployDevice(Long placeId,String businessType,Integer deviceCount) throws LogicException;
    
    public boolean undeployDevice(Long placeId,String deviceSn,String deviceTypeId) throws LogicException;
    
    public IPlace getById(Long placeId);
}
